#ifndef STRUCT_H
#define STRUCT_H

#include <QSettings>

class Settings: public QSettings{
public:
    Settings();

private:
    void setDefault(const QString &key, const QVariant &value);
};

extern Settings Config;

enum CommandType{
    NoAction,
    Chat,
    MovePiece,
    SetProperty,
    NewPlayer,
    SetPlayer,
    GameOver
};

#endif // STRUCT_H
